added addnote.js to routes