Updated web.js
Read server response from an index.html file.