Additional work on typeahead.js support