<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
$.getScript("test.js", function(){ alert("Running test.js"); });