changed web.js back to work with index.html