Update curry-solution.js