Added PHP script to automatically parse the JS files, resolve dependencies, and to load them accordingly