Call an external js script after document ready
<p>I have a js.js script which handles all my jQuery functions.
I call them one by one after document ready, like so:</p>

<pre><code>function 1(){}
function 2(){}

jQuery(document).ready(function($){ 
    function 1();
    function 2();
});
</code></pre>

<p>I also have an external javascript which I call inside the  tags of my website:</p>

<pre><code>&lt;script type="text/javascript" src="myscript"&gt;&lt;/script&gt;
</code></pre>

<p>The problem with this script is that it loads from an external website and sometimes is very slow, slowing my whole website.</p>

<p>Can I load it inside my js.js file, after document ready? lets say before function 2()?</p>

<p>Any ideas?</p>
