A module version of this application, with express.js