Added javascript to script tag in html file