Updated web.js
read from file
fix fs