Refactoring typeahead - stylizing