anchor.diff:                  </div>
                   <div class="tab-pane fade" id="edit" role="tabpanel" aria-labelledby="edit-tab">
                       <h3>Edit subscriber</h3>
  +                    <div id="edit_alerts"></div>
  +<%--
                       <form method="POST" id="edit_subscr_form" action="">
                           <div class="input-group">
                               <label for="editemail">Email</label>
  
positive.code:             newSubscriber();
              return false;
          });
          $('#suspend_subscr_form').submit(function () {
              suspendSubscriber($('#suspendemail').val());
              return false;
          });
  
          //TODO: remove error view
          $(document).ajaxError(function (event, request, settings) {
              $('#errorview').append('<h1>Error in getting data.</h1>');
          })
      });
  
      function isEmptyText(text) {
  
negative.code:             var name = button.data('name');
              var modal = $(this);
              modal.find('.modal-title').text('Remove subscriber ' + email);
              $('#remove_user').val = username;
              $('#remove_subscriber').val = email;
              $('#remove_alert_box').html('<strong>Warning!</strong> You are going to remove subscriber <strong>' + name + '</strong> associated with email <strong>' + email + '</strong>.</br>Do you confirm?');
          });
  
          //suspend subscriber on submit
          //TODO: need to show correct tab after submit
          //TODO: get subscibers email from request
          $('#suspend_subscriber_form').submit(function () {
              $.getJSON(rootURL + username + '/eurohlam@gmail.com/suspend', function (data) {
                  $('#edit_alerts').html('<div class="alert alert-success alert-dismissible" role="alert">'
                      + '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>'
                      + '<strong>Success!</strong> Subscriber has been suspended </div>');
              });
          });
  
  
          //TODO: remove on submit
  