[master] Fix of variable assignment when using CCB and JSB.