added events page js