Change dashboard.js to coffeescript