Revise web.js and index.html files