added web.js changes 3