Added UMD definition for library exports