Setting up js file.