Update web.js
Implement reading a string from index.html