Added UMD approach to the module