Client JavaScript code that manages a Bookmarks menu.
A demo app is included.
To test the app, choose Add bookmark from the Bookmarks menu.
It will confirm that you want to add a bookmark to the app itself and if you confirm, it is added.
It saves your menu to localStorage, restores it when the app is reloaded.