Updated web.js
Added index.html
Updated to read contents from index.html
Added missing require