Use "let" instead of "var" in appropriate places
Ensure context menu created after right mousedown on button
Ensure bookmarks loaded before adding of new bookmarks