handle just_split/just_concat when bridging js and native optimizers