tentative fix for #603; need to add testing
tentative fix for #603; need to add testing

jspsych/jsPsych,jspsych/jsPsych,jspsych/jsPsych,jspsych/jsPsych,wolfgangwalther/jsPsych,jodeleeuw/jsPsych,wolfgangwalther/jsPsych