Use textContent instead of innerText to support Firefox