set up js file