Updated web.js
added index.html
really added index.html
fixed require error
Used Sync version of readFile instead