Add First Element In Array Javascript Iterations Calculator Fractions