add node.js client generator

Based on the javascript generator.