[++] use UMD same as in MaskJS
[fix #1] add license handler