correction on a Ductile bug on JS events.