jak ten Foxlík neohroženě mával ocáskem,
Gramatika:
the conjunction jak here indicates temporary relation "as" or "when"