Updated web.js
Modified to read resp from file