Fixed autocomplete issue after jquery upgrade