fix resistor page for firefox