diff template library binding for node.js