JavaScript file and module loader