why did you remove the indexOf check?

i think that is an optimization thing since setValue can raise a bunch of events that can slow stuff down.