finished js version of the sums/multiples problem.