support selects for choosable fields in js