Document.Ready seems to contradict my scripts

Document.Ready seems to contradict my scripts

hi guys
I am trying to make my web page friendly, but it appears it seems to be contradicting itself.

Here is my code below ( full webpage can be seen here  https://www.dropbox.com/s/cgd7tkds5kq73v8/ehi.html?dl=0 )

It seems line 4 and 5 are disallowing lines 26 and 27

As I want to show a loading gif when the users records are being updated, but it fails

  1.    $(document).ready(function () {

  2.                 $('#Main').show();
  3.                 $('#Wait').hide();

  4.                   $('#Add_Submit').on("click", function (e) {
  5.                       e.preventDefault();
  6.                                       
  7.                     var last_Name = $("#First_Name").val();
  8.                     var first_Name = $("#Last_Name").val();
  9.                     var mobile = $("#Mobile").val();
  10.                     var username = $("#Username").val();

  11.                                     var last_Name = $('#Add_Form input[name=First_Name]').val();
  12.                     var first_Name = $('#Add_Form input[name=Last_Name]').val();

  13.                       var token = $('#Add_Form input[name="__RequestVerificationToken"]').val();
  14.                          var form = $('#Add_Form');
  15.                
  16.              
  17.               
  18.                       if ($('#Add_Form').valid()) {//Valid
  19.                                         
  20.                          // $("#Add_Form :input").prop("disabled", true);
  21.                           $('#Wait').slideDown(90).show();//.html('<div class="Text-Center">Thank you <br/>Your Account has been successfully updated</div>');
  22.                 $('#Main2').slideDown(90).show().html('<div class="Text-Center">Thank you <br/>Please wait while we update your account <br/><br/><hr/><br/></div>');
  23.                     Dawn(data);
  24.                             $('#Main2').slideUp(100).html('<div class="Text-Center ">Success <br/> Thank you <br/>Your account has been updated <br/><br/><hr/><br/></div>');
  25.                 $('#Wait').hide();

  26.                 }
  27.                 else {//INVALID

  28.                     return;
  29.                 }