Updated web.js
Added index.html
Changed to read from file