updated web.js
loading index.html file