Added $.getJSON and other changes