start porting the XSLTs over to node.js, because doing this in JS seems somewhat more useful