Better exception handling for V8js