final CodeWriter systemOutCodeWriter = new CodeWriter(System.out);
systemOutCodeWriter.program(program);
final Writer stringWriter = new StringWriter();
final CodeWriter stringCodeWriter = new CodeWriter(stringWriter);
stringCodeWriter.program(program);
stringWriter.close();
String test = IOUtils.toString(getClass().getResourceAsStream(
"Prototype[0].test.js"));
String sample = stringWriter.toString();