Modify web.js to read data from index.html and send it to response object