Changed location of script tag to top below head tag