updated web.js
read cotent from a file instead
change index