Change my web.js design for the one given in HW4