clean up web.js