Firefox compatibility: textContent instead of innerText