Phonegap app of trivia