Add UMD wrapper, and remove separate AMD version