find correct path to open html file from the notes.js path
merge in notes improvement