Updated web.js and inde.html for hw4