Corrected AnswerQuizCtrl.js due to javascript validation