Single Page Application framework using node.js