commit index.js