add iteration and order

added the ability to iterate on multiple files and load the js in a
predictable order so that the files can have dependencies