Modified web.js to bring output from index.html.