Remove unused `array_or_string_for_javascript`