lack of window.document.body in some cases