server-side implementation of thr-colors
#90 and ie8 issues; working on #87
issue #89
issue #90
issue #87; not completely fixed yet