Fix model of note in app.js