fix typeahead js typo