Modern browsers set the 'location' property on keyboard events when
the key is located in several places. The ALT key, for example, can be
either on the left or the right side of the keyboard.
This change uses the location to determine which Apple key to
activate, if it is available, and defaults to the old behavior if not.