perf: cache chars length in GetYoDigits
perf: cache chars length in GetYoDigits

This improves performance in particular for older browsers.
zurb/foundation,zurb/foundation,zurb/foundation-sites,zurb/foundation-sites,DaSchTour/foundation-sites,DaSchTour/foundation-sites,zurb/foundation,zurb/foundation-sites