added specs for js/views/dashboard/main.js