- changed from $.getJson() to $.ajax call