Amended web.js 2