The Global Object
JS_SetGlobalObject(cx, obj);
JS_InitStandardClasses(cx,obj);