Updating the main js file