web.js modified to read index.html
Return buffer as string