CAL-197 fix js migration