upcoming events updates: js now only used if .upcoming-events class is on the page