Updated web.js
Finish part1