use application.js to require dashboard