amd, commonjs and globals export