Clinet-side filtering for autocompletion