Bug 846: Separate JS_GetParent & JS_GetPrivate calls from initializations.