Removed need for JQuery's parseJSON method.