update to web.js, text from file with use of Buffer
update to index.html