WebWrapper ww = new WebWrapper(getJavaScriptPath());
ww.loadProgram(getProgram());
ww.runProgram();
URI uri = replayStringToUri(replaySource);
XMLHttpRequest xhr = new XMLHttpRequest();
xhr.open("GET", uri.toString());
try {
xhr.send();
} catch (IOException e) {
System.err.println("Could not load " + replaySource + ": " + e);
System.exit(1);