Updated web.js
Added index.html
Read from index.html
Fix function call parameter
Add header
Replace send with write