Move calculating colors and assigning bttv badges to their own helper functions