Added filter-by-date function
Merged filterEventsByDate function into script.js