commit js file's changes