Fix firefox innerText error