innerText is not supported in Firefox... use textContent instead