make ajax call to get events