Try upgrading to the latest version of PsychoPy - code and variables that followed $ were not translating from Py to JS in earlier versions!
Try upgrading to the latest version of PsychoPy - code and variables that followed $ were not translating from Py to JS in earlier versions!