I thought that you may find this plugin interesting: http://www.gnucitizen.org/projects/jquery-include/
all this plugin does, is to provide with mechanism for including external js files.. so you can do stuff like this: $.include('http://path/to/script1.js'); $.include('http://path/to/script2.js'); $(document).ready(function () { // the files are loaded, so now you can use them... }); $.include('http://path/to/script3.js'); $.include('http://path/to/script4.js');