Firefox compatibility

Need to use `.text` instead of `.innerText`
Merge pull request #1 from rcoup/patch-1

Firefox compatibility