Fixing events in IE8

In some cases the call to "document.detachEvent("onkeydown", this._onKeyDown);" will throw an error in IE8 and prevent the stop event from firing.