web.js modification