in the middle of a battle with typeahead.js!!!