Using JQuerys JSON object for crossbrowser compability.