add umd support
Merge pull request #26 from duojs/add/umd-support

add umd support