node 单例 ScriptManager.getInstance = function () { if (_instance != null) { return _instance; } else { return new ScriptManager(); } };