Clean up web.js