initial js file set up