Changed web.js so it works