Views registry and rendering for node.js