add thrash event page, more javascript