Optimize html page load time by inline script file and css file