dashboard.html, +dashboard.js: Refactored towards modular structure, to be continued...