changed index.js page