Updated web.js
HW3 First Attempt