Modifed web.js to diaply string from index.html