added UMD support for CommonJS + AMD