universal-events implementation using jQuery