changed all innerText function calls to textContent so firefox will work