changed web.js 6