Description of the problem:
My experiment runs completely until the final routine in which the participant presses the spacebar to finish the experiment. When the spacebar is pressed, it goes to this screen:
It gives an “unspecified javascript error”. After debugging a bit, I think the issue is that the experiment, rather than quitting out, tries to continue on to the next routine. Finding no next, it gives this error and does not end. However, I am not sure how to fix this.