js flash card demo app