fix notes.js view