document does not extend Element. Use document.body.