Test innerText/textContent on document.documentElement instead

W3 specifies that `Document.documentElement` is an implementation of `Node` and testing on that should save us from temporarily creating a `div`. Testing in my browsers shows this to be true.