Fixed UMD bug

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

Fixed UMD bug