Quizzes working with ajax, results currently not being stored