typeOf(window.captureEvents) 'undefined'