A single page application template for node.js