color and js repair