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

Firefox does not implement `innerText` so this led to another error with Firefox `data.title.innerText is undefined`.

/CC @connors @fat