added index.html
revised web.js to use readFileSync and Buffer functions from node.js