replaced index.js