fixed bug in script eval, firefox does not have innerText in htmlelement