Fixed web.js and updated index.html to a responsive design