added javascript file and linked to html