web-server.js from angular-phonecat