Check for undefined var in clearEvents