change the event to event_obj to avoid clash with Javascript variable