changed to eventObject as event is a keyword in js