attempt at tracking ajax calls