FIX broken logic for defaultJS
FIX broken logic for defaultJS

milkyway-multimedia/silverstripe-zenvalidator,sheadawson/silverstripe-zenvalidator,milkyway-multimedia/silverstripe-zenvalidator,sheadawson/silverstripe-zenvalidator