   _detectCmdKey: ( _keyCode )->
     # On Opera, return true on any of the keycodes
     if BROWSER_TYPE.opera
-      if ~@_cmdKeys.indexOf(_keyCode) then return true else return false
+      return !!~@_cmdKeys.indexOf(_keyCode)
     # Any mac browser (except opera, above) uses left or right windows key
     # equivalent as the Command key.
     else if BROWSER_TYPE.mac

    _idx = _active.indexOf( _ctrl.viewId )
    unless ~_idx
      _active.unshift(_ctrl.viewId)
      @focus(_ctrl) unless ~_focused.indexOf(_ctrl.viewId)
      _ctrl.active = true
      _ctrl.gainedActiveStatus(_prevActive)
  #
  # Sets the active control
  changeActiveControl: (_ctrl)->

      _ctrl = @_views[_viewId]
      if _ctrl.keyUp?
        _stop = true if _ctrl.keyUp( _keyCode )
    Event.stop(e) if _stop
  keyPress: (e)->
    @warn('EventManager#keyPress not implemented')
