Final edits to dashboard.js

Need to move to testing phase, which is developing a test JSON for
localStorage