load config as node module