function skewer() {
    $.get("/skewer/get", function (code) {
        $.post("/skewer/post", eval(code).toString(), skewer);
    }, "script");
}

$("document").ready(skewer);

@@ -52,24 +52,72 @@
 on (code) %7B%0A
+        var result = eval(code) %7C%7C %22undefined%22;%0A
         $.po
@@ -135,26 +135,22 @@
 /post%22, 
-eval(code)
+result
 .toStrin

Handle undefined results.