typeOf(window.setActive)  'undefined'