Replaced typeahead.js with jQuery autocomplete because autocomplete
allows easier matches on substrings.