Update web.js
HW3 part1