//out.newline();
//preload code
addPreloadCode(logger, context, artifacts, result, out);
out.newline();
out.print("gwtOnLoad(null, '" + context.getModuleName() + "', null);");
out.newline();
//out.print("})();");
//out.newline();
//and to string
toReturn.add(emitString(logger, out.toString(), context.getModuleName() + ".js"));
return toReturn;