set up js files