service locator for node js