typeOf(window.captureEvents)  'undefined'