have node.js render the html with 'fs' instead of piping to html for improved rendering flexibility