Optimized some of the JS files used and load order