made change to addnote.js