UMD support
Merge pull request #41 from akre54/umd

UMD support