Revert "Add ‘OnAjaxComplete()’ and ‘OnAjaxError()’ callback"

This reverts commit 026ddae99fdb29fe7ffd0649aebd82199db9c012.