Fix app.js incorrect routes for notes