TypeError: data.getDate Str is not a function

Hello,
While it works fine locally, when I try to pilot a study online with Pavlovia, I get the following error: TypeError: data.getDate Str is not a function.
When I open the compile to javascript I see this part is written like this:
// Run ‘Begin Experiment’ code from code_3
psychoJS.experiment.addData(“ClockStart”, data.getDateStr());
Thank you in advance,
Aleša