Create flashcard.js