innerText is undefined in this case in Firefox.