changing position of index.js