updated web.js read from file