add [umd](https://github.com/umdjs/umd)-like module declaration
add umd-like module declaration