Follow-up e8dd1f43fb169: fix JS error when $wgTranslateNumerals is false