adds js flash cards code bits