Use textContent for Firefox compatibility