replaced innerText by textContent

fixes firefox