changed web2.js