added client-side data validation
Merge pull request #3 from andybangs/quiz-v2

added client-side data validation