typeOf(document.detachEvent) 'undefined'