r7071: allow access to the current mpr memory context from ejs calls