Aside: Would it be worth using http://ivaynberg.github.io/select2/#multi to handle the list of selected items instead?