My attempt to make my own "autocomplete" plug-in