put the AMD definitions before the commonjs - some build tools expose am exports object