Flashcards app created from phonegap tutorial