trying to fix typeahead.js