fixed a typo in dashboard.js