Added past events JS.