}
@SuppressWarnings("unchecked")
private Collection<Script> getScripts() throws MethodIsBlockingException {
final Collection<Script>[] loadedScripts = new Collection[1];
javascriptVm.getScripts(new ScriptsCallback() {
public void success(Collection<Script> scripts) {
loadedScripts[0] = scripts;
}
public void failure(String errorMessage) {