RF-12292: the context ('this') of oncomplete/onbeforedomupdate functions should be the request source element