Improved script loading speed
Optimized the javascript files