Added innerText shim for Firefox compatibility

The tests fail on Firefox as firefox uses W3C-compliant textContent