rename main.js to dashboard.js