Added tabindex
More intelligent typeahead