Fix notes.js and .jade