public static void InitTimer(this JSValue globalObject) { globalObject.WriteProperty <JSTimer>("timer", new JSTimer(globalObject.ServiceNode)); }