AJAX rebuild - alert boxes