JavaScript Flash Card Writer