added index and web.js to repo