renamed index2.js to index.js