nodejs singletons notes