Added comments in dashboard.js