a node version of documentcloud's docsplit