revised html and web.js