js file set up