create an xhr trouble plugin