web.js to read index.html
fixed missing require()
Added styles into index.html