Added support for UMD modules