anchor.diff:          $(document).ready(function () {
               var container;
               var allAttributes = [];
  +            var canSubmit;
   
               var agreementChk = $(".agreement-checkbox input");
               var registrationBtn = $("#registrationSubmit");
  
positive.code:                     .attr('name', "consent")
                      .attr('value', JSON.stringify(receipt))
                      .appendTo('#register');
                  self.submit();
                  <%
                  }
                  %>
  
negative.code: 
                  if (!allMandatoryPiisSelected) {
                      $("#mandetory_pii_selection_validation").modal();
                      canSubmit = false;
                  } else {
                      canSubmit = true;
                  }
  
                  return newReceipt;
  