wasn't passing the response for native xmlhttprequest