Fix loading the autocomplete plugin