Updated web.js
assignment part 1