update web.js to read from index.html attempt 3