Modify web.js to provide response text from index.html