Add support to node.js code generation for exception handlers