commit the js file