Moved web.js to server.js