update main web.js