fixed my index.js file