update web.js to fix static file bug