dashboard.js: Isolated object definitions, fixed indentation