Convert CommonJS modules to AMD/UMD modules.