Typeahead.js fix