fix(grid) Replaced element.innerText with element.textContent 

So that it works in Firefox (`innerText` is not defined in Firefox).

Closes #140