Help! Where can I get /core.js/data.js for a custom experiment in Pavlovia?

Hi everyone!
I’m developing a Phaser3 custom experiment that I want to run and save the data to in Pavlovia. I followed all the standard advice from the forum (for example, here Pavlovia + phaser3: tips for writing data?), but I encountered a blocker:
I downloaded core.js / data.js 2020.2 from this link phaser swim task
But I get messages like
util-2020.2.js:1603 Uncaught SyntaxError: Unexpected token ‘export’ (at util-2020.2.js:1603:1)
core-2020.2.js:1 Uncaught SyntaxError: Cannot use import statement outside a module (at core-2020.2.js:1:1)
data-2020.2.js:1 Uncaught SyntaxError: Cannot use import statement outside a module(atdata-2020.2.js:1:1)
My experiment uses window.psychoJS to save data (i.e. window.psychoJS.experiment.addData), so I need working PsychoJS core/data scripts.
I can’t find where they might be located
In my code I tried to use a direct link like

script src=“https://pavlovia.org/lib/data-2025.1.js”>
But I’m afraid that didn’t work either, resulting in a 404 error

I tried exporting HTML from Builder, but didn’t get any lib/psychojs// core.js / data.js or similar files. Although there was a line
import { core, data, sound, util, visual, hardware } from ‘./lib/psychojs-2024.2.4.js’;

Next I tried searching for them in the folder under
PsychoPy (including /site-packages/psychopy/app/resources/) and it also doesn’t find any psychojs-*.js files.

Question:
Does anyone have a working copy of psychojs.min.js or individual core.js, data.js, etc. for the latest (2023.x or 2024.x) version of PsychoJS?
Or can anyone share a public link where I can download these files to include in my Pavlovia project?
Any other suggestions for a workaround to saving data to Pavlovia from a custom (non-Builder) experiment are also welcome!

Thanks in advance!

You can basically just look at the first line of the JS file made by the builder. Typically it will be something like this:

import { core, data, sound, util, visual, hardware } from './lib/psychojs-2023.2.0.js';

As long as you are running this on Pavlovia, it will pull the correct libraries from the ./lib/psychojs-[version].js file stored on Pavlovia’s servers. You can also try putting <script src="lib/psychojs-2024.2.2.js"></script> at the top of your html file and it should yield a similar result.