Added fix for UMD structure

https://github.com/cferdinandi/kraken/issues/92
Merge pull request #2 from cferdinandi/umd-fix

Added fix for UMD structure