Added ajax calls. JSON data is working still working on xml and local storage. Added form validate and save .