use commit hash instead of version number; restore onChange function
restore getNote()
return the promise in getNote
return obj.data in getNote promise
Merge pull request #236 from michielbdejong/add-notes.js

retrying for #227 sorry