having weird troubles with jQuery Autocomplete --

having weird troubles with jQuery Autocomplete --

Hello friends.
Let me describe what this is about and what i've done so far.

As expected, I have a text box where the user would type in names of cities. And it is supposed to show an autosuggest/autocomplete prompt of city names that may match with the letters being typed. I have my server side code returning these city names. 

1. my html is simple and such --

Search by City:   
                <input type="text" placeholder="type city name here ..." id="reg_city" style="border-radius: 6px;color: #21022c; background-color: #f8e7da; width: 310px; height: 38px;" />



2. the jquery code I did --
  1. $(document).on('keyups', '#reg_city', function () {

  2.         $(this).autocomplete({
  3.             source:function( request, response )
  4.             {
  5.                 if(request.term!="")
  6.                 {
  7.                     $.ajax({
  8.                         type: 'POST',
  9.                         url: '@Url.Action("Get_CityAutocomp", "Home")',
  10.                         dataType: 'json',
  11.                         contentType: 'application/json; charset=utf-8',
  12.                         data:{name:request.term},
  13.                         success:function(serv_data)
  14.                         {
  15.                             if(serv_data!="")
  16.                             {
  17.                                 response($.map(serv_data, function(item)
  18.                                 {
  19.                                     var name = item.name;
  20.                                     return
  21.                                     {
  22.                                         label:name,
  23.                                         value:name,                          <----------
  24.                                         item:serv_data                      <----------
  25.                                         
  26.                                     };
  27.                                 }));
  28.                             }
  29.                         }
  30.                     });
  31.                 }
  32.             },
  33.             autoFocus:true,
  34.             minLength:2,
  35.             delay:150,
  36.             select:function(event, ui)
  37.                 {
  38.                     var name=ui.item.serv_data;
  39.                     $(this).val(name);
  40.                 }
  41.       });
  42. });