Are you using daisy chaining or displaying the completion code to send the participants back to Prolific?
Running jsPsych experiments from Pavlovia shows how to add daisy chaining.