web.js cleaning