title: Page loading blocks by remote javascript
body: <p>I am loading external javascript on my site through:</p>
  
  <pre><code>&lt;script language="javascript" type="text/javascript"&gt;
  document.write("&lt;script src='http://remoteserver/banner.php?id=10&amp;amp;type=image&amp;amp;num=3&amp;amp;width=200'&gt;&lt;\/script&gt;");
  &lt;/script&gt;
  </code></pre>
  
  <p>Everything was fine, but today was a big timeout from the remote server and page loading on site was blocking.</p>
  
  <p>Is there possibility to load javascript asynchronous or to load it after page loads?
  I don't want page load interruption while remote server not working.</p>
  
  <p>I know there are tag async in HTML5, but it's not working, i think because this script is more complex than javascript (its ending with ".php").
  Also i know it's better to put javascript files before /body tag to prevent this problem, but it's not the best solution.</p>
  
  <p>Do you know other solutions?</p>