success() cleanup function does more of the cleanup

Moving response text to success() method