Update for document.body.clientWidth/document.body.clientHeight (documen...

...t.width and document.height are no longer supported)