Autocomplete spec: clicking on item should call back to input with the chosen value
Factor out html