Use .data('ui-autocomplete') instead of .data('uiAutocomplete') fixing visualsearch for jquery 2.0 and jquery ui 1.10