Cleaning up html syntax for dashboard.