Ajax autocomplete fix