fix for the event translation from as to js