yet another jquery autocomplete with a couple of specific functions