code: function handleKeydown(keyCodes, e, callback) {
      const keyCode = e.charCode || e.keyCode;
      if (keyCodes.indexOf(keyCode) !== -1) {
          callback();
      }
  }
docs: Generic keydown handler used by more specific cases
  @param {Array} keyCodes: List of acceptable keyCodes
  @param {KeyboardEvent} e
  @param {Function} callback