add-note support + refactoring; test added
fix style (tab/space) for notes.js
Updated todo items