js file set up

js file set up and linked with html file