Unmodulize AMD layers built with tools like RequireJS. In order words, inline the 'define' and 'require' calls so that the code doesn't need a module loader to run.