Update web.js Hw3 part 7