updated web.js refresh index