Calling jQuery after method with replaceWith
===

I have this code block:

    $('#mainContent').replaceWith(ucmResponse).after(function(){alert('jym')});

But I am not getting the `alert`. I wanted to hide the `'#mainContent'` after the `replaceWith` method completes.