minor changes dashboard.js