/* by Oratio.io */

//Modules
var vm = require('vm');
var assert = require('assert');

var file = process.argv[2];
var timeout = new Date(process.argv[3]);

vm.runInThisContext(file, {timeout: timeout});
console.log('test: '+ test);

@@ -150,16 +150,23 @@
 v%5B3%5D);%0A%0A
+try %7B%0A 
 vm.runIn
@@ -185,56 +185,73 @@
 file
-, %7Btimeout: timeout%7D);%0Aconsole.log('test: '+ test);
+);%0A%7D%0Acatch(e) %7B%0A    console.log(e); // Script execution timed out.%0A%7D
 %0A

Update child.js