CEvent class - jquery custom events wrapper