A Flashcard Trainer in Javascript