Terms agreement JS fix on checkout form.
Important: fixed the 535 bug.