Create js-reduce.js

js array reduce