working typeahead location selector