JS: fixing before_after stats on moduleTraining and adding errorMessage on unanswered answers