Autocomplete using no libraries