Fixing a bug that prevented AJAX submission success messages from showing properly.