Firefox compatibility

Need to use `.text` instead of `.innerText`