Made web.js into web server