Fix: Reliable cross-browser support

`textContent` is cross-browser and reliable, while `innerText` is not implemented everywhere (most notably in Gecko) and differs in browser implementation.