typeOf(window.document) 'undefined'