Updated web.js
read response from index.html