proof of concept: dyanmically generate keyboard shortcuts in menu

I placed all the shortcuts and the functions as dictionary key-value pairs in a .js file
and then compared the menu items to the key-value pairs.

Mostly to demonstrate a Javascript prototype to acheive the end goal.