replaced eval() with vm.runInThisContext() to get around unsafe-eval err...

This is the same way the loophole package does it.