Read how to disable loading the plugins on an AJAX event: https://github.com/managedwphosting/developers/blob/master/examples/ajax.php