added index.html
updated web.js to serve index
add missing closing brace