Rewrite ProblemForm module in coffee.