changed web.js and index.html for responsive design