jquery script to determine resistor color band values