You left out an important part of the custom _renderMenu function, or perhaps are using one that goes with an older version of the UI. Replace:


$.ui.autocomplete.prototype._renderMenu =...