commit js file