added sample html autocomplete functionality