Add examples of amd and commonjs support
Update events package name
Cleaner UMD wrapper