Add dependency on jquery and jquery ui.
Make branch select a combobox (from jquery ui autocomplete demo).