converting to AMD-Web style UMD