Use textContent for Firefox compatibility

innerText has does not function properly in Firefox. textContent is valid replacement.