updated web.js
added index.html
modify web.js to output index.html
another way to output index.html -- using Buffer