Firefox compatibility

Need to use `.text` instead of `.innerText`. Checked in Firefox and Chrome