all changes. trying to fix ajax responses for events