Make Temporary values store a *JSObject member instead of calling root methods

fix #2650