change to index.js