Added global events to ajax object