Timers.start("js-exec");
List<File> javascriptFiles = new ArrayList<File>();
try {
File jsFile = new File(generationPath, stjsClass.getJavascriptFiles().get(0).getPath());
String content = Files.toString(jsFile, Charset.defaultCharset());
List<ClassWithJavascript> allDeps = new DependencyCollection(stjsClass).orderAllDependencies(Thread.currentThread()
.getContextClassLoader());
for (ClassWithJavascript dep : allDeps) {
for (URI js : dep.getJavascriptFiles()) {
if (dep instanceof BridgeClass) {
javascriptFiles.add(new File(resourcePath, js.getPath()));