going back to the prev index.js