linked the javascript file to html. whoops!