anchor.diff:              editSubscriber();
               return false;
           });
  -        $('#remove_subscr_form').submit(function () {
  -            removeSubscriberById($('#removeemail').val());
  -            return false;
  -        });
  -        $('#new_subscr_form').submit(function () {
  -            newSubscriber();
  -            return false;
  -        });
   
           //Show ajax error messages
           $(document).ajaxError(function (event, request, settings) {
  -            $('#alerts_panel').html('<div class="alert alert-danger alert-dismissible" role="alert">'
  -                + '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>'
  -                + '<strong>Error!</strong> Internal error </div>');
  +            showAlert('error', 'Internal error');
           });
   
           function getSubscriberById(id)
  
positive.code:                     <h3>Add new subscriber</h3>
                      <form method="POST" id="new_subscriber_form" action="">
                          <div class="input-group">
                              <label for="newemail">Email</label>
                              <p><input type="email" id="newemail" required class="form-control"/></p>
                              <label for="name">Name</label>
                              <p><input type="text" id="name" required class="form-control"/></p>
                              <label for="rss">RSS</label>
                              <p><input type="url" id="rss" required class="form-control"/></p>
                              <%--<label for="starttime">Start date</label>--%>
                              <%--<p><input type="date" id="starttime" class="form-control"/></p>--%>
                              <security:csrfInput/>
  
negative.code:             <form method="get" id="suspend_subscriber_form" action="#">
                  <div class="modal-body">
                          <div id="suspend_alert_box" class="alert alert-warning" role="alert"></div>
                          <input hidden type="email" id="suspend_email" name="suspend_email" value="jopa@mail.ru"/>
                  </div>
                  <div class="modal-footer">
                      <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  