A small challenge to create a self-contained JS file that would handle event scheduling.