adding changes for reading file
fixed web.js file