Updated web.js
Added index.html
read index.html and output text
add missing require