working on typeahead JS