responseText is no longer part of the spec

Here I am only checking responseCode as the responseText is no longer being returned. I would prefer to do triple = on the zero but can't be sure if it's coming in as an int or a string