Put Script inside of html

Fixed a validation problem with the script tags being outside of the html tags