title: same origin policy in external js file
body: <p>if in the website <code>http://www.mysite.com</code> there's an external js file added as </p>
  
  <pre><code>&lt;script src="http://www.yoursite.com/new.js"&gt;&lt;/script&gt; 
  </code></pre>
  
  <p>within the <code>http://www.yoursite.com/new.js</code> js file, there's an ajax call to a script in <code>http://www.yoursite.com/new.js</code></p>
  
  <p>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?</p>