umd support
Merge pull request #23 from spenceralger/umd_support

umd support