Added UMD support
Merge branch 'umd'