commit the front end javascript