MAG-03 Added ajax submission.