We could be more precise knowing when do we have all the scripts loaded.

Adding the same onload function to the scripts and counting how many do we have left will give us the chance to know when all the scripts were loaded (in case this is necessary)