started modifying web.js and index.html for hw4