Use textContent if innerText is undefined

node.innerText is not standard and doesn't work in Firefox
Merge pull request #1 from clochix/patch-1

Use textContent if innerText is undefined