removed javascript - copied to separate JS file
created file to hold the javascript previously in the html file