Updated web.js as said in the class