Fix autocomplete js