Add Google Analytics and remove extraneous spaces in html