upgrading jquery ui 1.8.5 to 1.10

upgrading jquery ui 1.8.5 to 1.10

i am using autocomplete in one of my project. I want to upgrade from ui 1.8.5 to 1.10.1 . i simple include the new new libraries of jquery and jquery ui and autocomplete is not showing the result menu, it just displays the text "2 results are available" and i can navigate among the result but menu for selection is not displayed. here is the code for autocomplete. 

  1. function initLoc() {
  2.     $(".location").each(function (index) {
  3.         $(this)
  4.         .bind("keydown", function (event) {
  5.             if (event.keyCode === $.ui.keyCode.ENTER && !$(this).data("selectVisible")) {
  6.                 $(this).val('');
  7.             }
  8.         })
  9.         .autocomplete({
  10.             minLength: 3,
  11.             delay: 100,
  12.             autoFocus: true,
  13.             source: function (request, response) {
  14.                 var term = request.term;
  15.                 if (term in cache) {
  16.                     response(cache[term]);
  17.                     return;
  18.                 }

  19.                 lastXhr = $.getJSON("/httphandlers/SearchLocationContents.ashx?city=" + city, request, function (data, status, xhr) {
  20.                     cache[term] = data;
  21.                     if (xhr === lastXhr) {
  22.                         response(data);
  23.                     }
  24.                 });
  25.             },
  26.             open: function () {
  27.                 $(this).data("selectVisible", true);
  28.             },
  29.             close: function () {
  30.                 $(this).data("selectVisible", false);
  31.             },
  32.             search: function () { if ($.trim(this.value) == "") return false; },
  33.             select: function (event, ui) { },
  34.             change: function (event, ui) {
  35.                 if (!ui.item) {
  36.                     var val = $(this).data("uiItem");
  37.                     if (typeof val === 'undefined') {
  38.                         val = '';
  39.                     }
  40.                     $(this).val(val);
  41.                 }
  42.             }
  43.         });
  44.     });
  45. }
here is the image of the result. 



I want to hide the text "2 results available" and menu should be displayed.