clean up dashboard.html code