Add UMD support
Merge pull request #1 from Huddle/UMD_support

Add UMD support