Build me an auto-completer using the dom elements in the html file and assuming a dictionary of results represented in the json file.
The auto-completer should:
Capture key presses in the text input and send async calls to the server sending the value of the input as the search term. The results from each async request should be processed and used to update the element. Feel free to modify the dom or the results if you feel we need more data or more specific selectors.