changed dashboard.js