add comments to dashboard.js - very close to being finished...