Flashcards in javascript, perl, and python