common lib for jm-* projects