Cleanup. Fixed graph color sorting. Moved js & css from dashboard view.