implements bootstrap typeahead plugin