hi, if you are wondering how you can load some external javascript files only after the page has loaded but yo want them to load in the order you want them to load i hope i can help you. i wanted to do the same thing but after googling it, i finally found the answer.

this is called Asynchronous JavaScript Loading. there are some script you can find online, they are called 'Asynchronous JavaScript Loader' or JavaScript Dependency Management you can google it,

the first searches might find

1. RequireJS RequireJS For Asynchronous Script Loading
site: http://www.andresvidal.com/jsl

2. Kongregate Asynchronous JavaScript Loader
site: https://gist.github.com/405172

3. yepnope - is an asynchronous conditional resource loader that's super-fast

4. Head JS
site: http://www.headjs.com/

5. LAB.js
site: http://www.labjs.com/
reource: http://www.bennadel.com/blog/2230-Using-The-LAB-js-Script-Loader-With-jQuery-s-DOM-Ready-Event.htm

you should try all of them to see which one you like the best. i personally recommend RequireJS