Load scripts after page has loaded?
simply you can add into that script file defer
parameter
<script src="pathToJs" defer></script>
you can check this question as well
In JQuery you could do this on document ready
$.getScript("somescript.js", function(){
alert("Script loaded and executed.");
});