if (jscompress) {
jsCompressorFactory = new ShrinksafeJSCompressorFactory();
}
JSOptimizerFactory jsOptimizerFactory = new AMDJSOptimizerFactory();
JSServlet jsServlet = new JSServlet(resourceLoader, jsOptimizerFactory, rhinoClassLoader, "zazl", null, null, jsCompressorFactory);
maqettaHTMLFilter = new MaqettaHTMLFilter(resourceLoader);
try {
System.out.println("Registering Zazl JavaScript servlet");
httpService.registerServlet("/_javascript", jsServlet, null, null);
System.out.println("Registering Maqetta HTML Filter for Zazl");