function setup() { $.getScript ( "uploads/alexmurphy1996/trump_on_fire.js", function() { preload(); setup(); // Put your code below here... // // ...And above here // }); }