Modified web.js 1