Created plain javascript classes for bars and highlights