Independent random sequences for online use

URL of experiment:
https://run.pavlovia.org/Matty0512/realfake/html

Description of the problem:

In my experiment I present sets of two images side by side which are both taken from different columns in a csv file. How do I randomise the sequence of images for each participant, with the right image and left image being randomised independent from each other. I know how to do this in pyschopy but I am having trouble finding a solution using JS in order to run the experiment online

How are you doing it in Python?

I’d read the image names into two arrays with one loop and then shuffle one.