update web.js to read html file
web js bug fix