RF-12821: fixing ajaxbegin, ajaxbeforedomupdate and ajaxcomplete callbacks