Array#reduceRight ponyfill for older browsers