Fix index.js route