1$.when(
2 $.getScript( "/mypath/myscript1.js" ),
3 $.getScript( "/mypath/myscript2.js" ),
4 $.getScript( "/mypath/myscript3.js" ),
5 $.Deferred(function( deferred ){
6 $( deferred.resolve );
7 })
8).done(function(){
9
10 //place your code here, the scripts are all loaded
11
12});