Cleaning of the Event Display script