How to provide return link in jsPsych for participants recruited through prolific?

Update: Someone suggested to me to simply add a new trial with the return link after the pavlovia_finish trial, is this alright? Or will it cause any problems with Pavlovia?