Updated web.js
Added index.html
use readFileSync
fix wrong method call