As this method is not tied to jQuery or Prototype (you have the exact same code in both versions), it should be moved to the AbstractChosen class