templated server.js