A port of Guillotine.NET to JavaScript and node.js