Update notes.js

Fixes small bug in the example notes.js. 
Thanks for this great library!