Dropped type declaration in script tag as HTML5 does not require it, and changed some single quotes to doubles.