Update web.js

Read from index.html