Functional web app for Node.js