added UMD support

This pull request allow you to close the issue #31