added new web2.js file