made JS and CSS get loaded separately, optimised a few load time things