Ajax partial response encoding issue