change index.js