Udapted web.js