node.js server and slight modifications to citeproc-js to run in node