Support commonjs amd and browser global via umd boilerplate