Refactored javascript widgets for collection-based fields (use jQuery-Ui widget factory)