Fix notes.js export