Updated web.js to web 2.
Added index.html.
Read contents from buffer.