Generating styled markup from a folder of markup snippets, using JavaScript on node.js