Update xhrio.js

better test for non-empty xhr.response