update for recent firefox versions
changes to the html model