Include external script after dom has loaded
<p>I'm having this script thats including an ad, now I'm trying to include it after the dom has loaded.</p>

<pre><code>&lt;script type='text/javascript' src='http://ads.yashi.com/xxxx'&gt;&lt;/script&gt;
</code></pre>

<p>the following was not working for me </p>

<pre><code>&lt;script type='text/javascript'&gt;
 $( document ).ready(function() {   
    $.getScript("http://ads.yashi.com/xxxx");
 });
&lt;/script&gt;
</code></pre>
