updates web.js and index.html to be responsive