JavaObject_ops.newObjectMap = js_ObjectOps.newObjectMap; JavaObject_ops.destroyObjectMap = js_ObjectOps.destroyObjectMap; JavaObject_ops.getRequiredSlot = js_ObjectOps.getRequiredSlot; JavaObject_ops.setRequiredSlot = js_ObjectOps.setRequiredSlot;
jsj_init_JavaObject(JSContext *cx, JSObject *global_obj){    JavaObject_ops.newObjectMap = js_ObjectOps.newObjectMap;    JavaObject_ops.destroyObjectMap = js_ObjectOps.destroyObjectMap;    JavaObject_ops.getRequiredSlot = js_ObjectOps.getRequiredSlot;    JavaObject_ops.setRequiredSlot = js_ObjectOps.setRequiredSlot;    if (!JS_InitClass(cx, global_obj,         0, &JavaObject_class, 0, 0,        0, 0,        0, 0))        return JS_FALSE;    return JS_TRUE;}