If in the website http://www.mysite.com there's an external js file added as

<script src="http://www.yoursite.com/new.js"></script>

within the http://www.yoursite.com/new.js js file, there's an ajax call to a script in http://www.yoursite.com/new.js

in such a case will there be the same-origin policy security problem, as it's calling a script in a site from another website?