2changed web.js for sync file reading.