Commit js and Example