Update flashcard.js

add initial size of the test on load