change index.html to string in web.js