Convert transform to Js, get current transform for translate/scale/rotate.