Updated web.js
Added index.html
web.js uses external html file as source of string
removed buf variable