Updated web.js
added index.html
bug fixes