format jcm buttons