title: Loading external js in IE
body: <p>I want to load external javascript file but I can't use AJAX requests because of <em>same origin policy</em>, and I have a code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      var head = document.getElementsByTagName('head')[0];
      var script = document.createElement('script');
          script.type = 'text/javascript';
          script.src = 'test.js';
      head.appendChild(script);
  &lt;/script&gt;
  </code></pre>
  
  <p>That is ok everywhere (Firefox, Chrome, Opera, IE9, IE6) but not in IE8, IE7.<br> How can I make it work in IE8?</p>