Running JQuery Async - Not interrupting site load <p>I have the following code. It slows my site down - I know because when I comment it out it cuts around 2 seconds of the load time. How can I tell jquery (I'm using jquery) to load this whenever it has time? there is no rush... anytime is fine so long as it doesn't impact the site load:</p> <pre><code>&lt;div id="indexButtonFacebookDIV" class="indexFooterButtonsDIV"&gt; &lt;div id="fb-root"&gt;&lt;/div&gt; &lt;script&gt;(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&amp;appId=192869610731913"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));&lt;/script&gt; &lt;div class="fb-like" data-href="&lt;?php echo "$index-&gt;facebook\n";?&gt;" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false" data-font="verdana"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div id="indexButtonGooglePlusDIV" class="indexFooterButtonsDIV"&gt; &lt;div class="g-plusone" data-size="tall" data-annotation="none"&gt;&lt;/div&gt; &lt;script type="text/javascript"&gt; (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); &lt;/script&gt; &lt;/div&gt; &lt;div id="indexButtonTwitterDIV" class="indexFooterButtonsDIV"&gt; &lt;a href="https://twitter.com/share" class="twitter-share-button" data-url="&lt;?php echo "$index-&gt;twitter\n";?&gt;" data-dnt="true"&gt;Tweet&lt;/a&gt; &lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");&lt;/script&gt; &lt;/div&gt; </code></pre> <p>I tried using head.js script but I couldn't get it to async the load... </p> <p>thankyou</p>