moving index.js