Lintified the notes.js file

Lintified the notes.js file
Jslint.com is god!