Update to Autocomplete example

Updated documentation and autocomplete script