Changed index.js file