Fixed UMD structure issues

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

Fixed UMD structure issues