fix js error for empty central columns

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>