finished refactoring v2 of quiz.creator js