description of notes-ctrl.js file