created new javascript file for dashboard page functionality
created new javascript file for dashboard page functionality