Alternative for Import functions

URL of experiment: https://run.pavlovia.org/doladime/memory-scaffold-experiment/html/

Description of the problem: I believe Pavlovia is having some difficulty running my experiment due to the import functions on line 173 and 174 as I keep getting an error saying I have a syntax error on these lines, I was wondering what would be a valid JS alternative to the lines:
" import * as random from ‘random’;
import * as xlrd from ‘xlrd’; "

I don’t know what xlrd does but my crib sheet (see pinned post) has some suggestions for random