Fixing dashboard.js