Implement and document a callback executed after success of the ajax
method