[js] do not show undefined in special_calculator