Changed index.js