Updated web.js
read from file