clean up javascript and css for the event page