updated web.js
added index.html
Changed to read from index.html
Define app