typo in dashboard js