Revert "Use textContent if innerText is not defined."

This reverts commit 50c92227b39181aa411d2e569ae06f4a8660d9b8.