js fixes for the color grey themes