Updated web.js
Added index.html
Loading index.html
Fixed error in conditional