refactored shortcuts to use chrome keyboard api