add umd pattern && new version build