new typeahead factored js css