Fix autocomplete plugin example code