Updated web.js
Added index.html
read from index.html
fix fs reference
fix semicolon