CompilerOptions options = new CompilerOptions();
CompilationLevel.SIMPLE_OPTIMIZATIONS.setOptionsForCompilationLevel(options);
Compiler.setLoggingLevel(Level.OFF);
Compiler compiler = new Compiler();
compiler.disableThreads();
Result result = compiler.compile(new JSSourceFile[] {},
new JSSourceFile[] { JSSourceFile.fromInputStream("is", is) }, options);
if (result.success) {
Pattern pattern = Pattern.compile("^/\\*.*?\\*/\\s?", Pattern.DOTALL);
Matcher matcher = pattern.matcher(new String(content, charset));
while (matcher.find()) {