creating the main js file