Custom js in Pavlovia Surveys (for accessibility features)

Good morning,

I am currently looking at developing some surveys in Pavlovia, but I would ideally like to include some accessibility features like a read aloud button for the question text using speech synthesis (SpeechSynthesis - Web APIs | MDN).

I cannot find a way to include any custom scripts in Pavlovia surveys. Is there a way to do this, or would I be better using something like jsPsych and importing it into Pavlovia?

Thanks! Lily