Fix index.js note route