Added Ajax call with JSON objects