Replace $.ajax with $.getJSON