$('.topbar-noti').click(function (event) {
  event.preventDefault();

  $.post("/notification/ack/" + $(event.currentTarget).attr('id'));
  $(event.currentTarget).remove();
});

function notify(level, msg) {
  var div = $('<div class="alert alert-' + level + '">' + msg + '</div>');
  $("#page-wrapper").prepend(div);
  div.delay(2000).fadeOut().remove();
}

@@ -201,16 +201,40 @@
  msg) %7B%0A
+  $(%22.alert%22).remove();%0A
   var di
@@ -362,21 +362,12 @@
 adeOut()
-.remove()
 ;%0A%7D%0A

fix success message