updated web.js
added and index file