fix js toggling of the notes box