use textContext instead of innerText when possible

some browsers like firefox and opera doesn't support the old and not standard `innerText` property. The standard is `textContent`:

https://developer.mozilla.org/en-US/docs/Web/API/Node.textContent

I can confirm that with this library works on firefox with this change.

Thanks