A code sample of a JavaScript autocomplete