Update monads-problem.js