Use `textContent` when `innerText` is not available.

Firefox does not implement `innerText` so this led to another `TypeError`.
Merge pull request #518 from twbs/innerText

Use `textContent` when `innerText` is not available.