Added UMD style initialization
Merge pull request #15 from perliedman/umd-initialization

Added UMD style initialization