Updated web.js
Read from file
modify index