add events to function jsJsFuncEvent.