Optimised the JS and CSS