Fix compat issues with newer jQuery UI versions

The removed code also seems to not have made any visible difference in the tag-autocompletion.