Remove dead code.
Call stopPropagation on the correct object.
[firefox] Open note links in new tabs.