removes color panel javascript