use https://github.com/umdjs/umd node adapter style