Clean up is a good thing. I have changed it to use `.fail(function () ...`.