According to the require.js docs this shouldn't be done. http://requirejs.org/docs/whyamd.html#namedmodules