Set responseType after xhr.open() to avoid INVALID_STATE_ERR on Android Browser