Update web.js - read from index.html