Project: dom
Task (challenging): Dispatch and display shortcuts for menu items. In MACOS, use keys 'Cmd+C' for copy, 'Cmd+V' for paste, 'Cmd+J' for 'add file', 'Cmd+K' for 'add dir'. In other OS, replace 'Cmd' with 'Ctrl'. Save codes to 'common/menu.js'.