added code to html file, linking to the javascript file