One easy way is to load them at the end of the html page.
If you want even content, such as images, to be loaded first, as well as cross-browser issues smoothed out for loading, the jQuery library simplifies this with $(window).load() and $.getScript() .
$(window).load( function() { $.getScript('your_3rd_party-script.js'); });
jQuery is not the answer to all the questions, but it gives some nice abstractions. For example, you get IEβs automatic cache cache (if you want), and you donβt have to worry about browser-specific issues of direct approaches to DOM manipulation.
source share