Added jquery ajax post snippet