Refactor js into a function for future resuse and restyle page
Merge pull request #1 from hirespace/HS751-jazz-up-dashboard

Refactor js into a function for future resuse and restyle page