Hi There,
Another possibility is that if you are trying to use the python “pop” function this does not translate to JS - the solution for this would to replace with shift() - seethis crib sheet PsychoPy Python to Javascript crib sheet
Thanks,
Becca