web.js writes index.html