Online version of my task does not refresh stimuli

URL of experiment: https://gitlab.pavlovia.org/jlc/ab1

Description of the problem: Hi! This is probably a newbie Q, it’s my first attempt to port from PsychToolbox to PsychoPy.

The python version works fine, and presents an RSVP stream of 15 stimuli per trial. The online version just presents a single stimulus. What could I be doing wrong?

Note: To get it running at all, I did change a few things in js, in particular replaced str() with String() and, for some reason, thisN with thisN-1 (this might be a possible source of the error? sorry, I don’t speak javascript).