client now triggers events: aboutToAJAX and afterAJAX