broken javascript - formatting tools wont fix it. causes previous block of code to break
<p>In as much as I would like someone to say "change this line of code to read....", I really would like to know the solution to the problem of Firefox not reporting broken code. This code block is broken and it causes a previous block of code to break.  It's somewhere in the notdupe.live.click function.  I can comment out the entire function and the rest of the code works. I've tried commenting out pieces but can't isolate the problem. </p>

<pre><code>&lt;script type="text/javascript"&gt;     
        var SaveDupeGroup = 0;
        var DupeCount = 0;
        var ReInitAnswer = '';
        var RemoveAnswer = '';

        $(document).ready(function () {
          $('.StartOver').live('click', function () {
            ReInitAnswer = confirm('Are you sure you want TO DELETE ALL temp dupe records AND start over FROM SCRATCH? \nIt may take a couple OF hours.');
            if (ReInitAnswer) {
              // submit the form TO BEGIN re-creating the temp table
              document.forms["dupeIndivs"].submit(); //return true;
            } else {
              alert('canceled');
              return false;
            }
          });
          $('.notdupe').live('click', function (e) {
            $.ajax({
              type: "POST",
              url: "cfc/basic.cfc?method=SetNotDupe",
              data: "indivNum=" + $(e.target).val() + "&amp;SetValue=" + $(e.target).is(":checked"),
              error: function (xhr, textStatus, errorThrown) {
                // show error
                alert(errorThrown);
              },
              success: function (response1, textStatus, jqXHR)(
              if ($(e.target).is(":checked")) {
                $firstTD = $(this).parent().siblings().first();
                SaveDupeGroup = $firstTD.text();
                $.ajax({
                  type: 'GET',
                  url: 'cfc/basic.cfc?method=CheckDupeGroup&amp;returnformat=json',
                  dataType: 'json',
                  data: 'DupeGroupNumber=' + $firstTD.text(),
                  error: function (xhr, textStatus, errorThrown) {
                    // show error
                    alert(errorThrown);
                  },
                  success: function (response, textStatus, jqXHR) {
                    DupeCount = response.DATA[0];
                    alert('Dupe Group-' + SaveDupeGroup + ' count=' + response.DATA[0]);
                    if (DupeCount) {
                      alert('huh?');
                    } else {
                      RemoveAnswer = confirm('All of the names in this group have been checked.\nDo you want to remove them from the lists?');
                      if (RemoveAnswer) {
                        alert('continued');
                      } else {
                        alert('canceled');
                        return false;
                      }
                    }
                  }
                });
              })
            });
          });
        });
    &lt;/script&gt;
</code></pre>
