[mms] Fire before/after events in core AJAX javascript code when processing data returned from the server.