check if commits js file to github