Bug fix in UMD definition