JS_ReportError(cx, "%s is not defined", name);
JS_ReportErrorNumber(cx, NULL, JSMSG_NOT_DEFINED, name);
js_ReportIsNotDefined(JSContext *cx, const char *name){    JS_ReportError(cx, "%s is not defined", name);}