Quiz Scorecard Phonegap application