typeOf(window.document)  'undefined'