Modified web.js after following tutorial