Use Element.textContent instead of Element.innerText to fix Firefox bugs