rewrote checkout logic, jQuery validation