I found error when using jQuery autocomplete.
This notice error in console is
TypeError: $(...).autocomplete(...).data(...) is undefined }).dat
This helped me:
).data().autocomplete._renderItem = function (ul, item) {