js: fetch grains
js: grains: binary exponents for squares, Array#reduce for all
ruby: grains: String#to_i(base) means we can get rid of #binary_1e