Wrap plugin in UMD