updated the index.js file
updated