Remove unneeded variable responseType in xhr helper