attempted to replace jQuery UI Autocomplete with Typeahead

this is an aborted attempt to get rid of jQuery UI

the main issue is that Typeahead doesn't seem to support the distinction between label/caption and value, so selecting a suggested entry always results in the corresponding value (a technical descriptor which shouldn't be exposed in the UI) being written to the respective input field