Fixes bug in ff. Replaced innerText with textContent.