setting up js files