Clean up dashboard.js