Handle both response & responseText to support IE11