typeOf(window.setActive) 'undefined'