updated web.js
Added index.html
Modified script to read from file