Fixed routing for index.js