Add check for response getResponseHeader

Fix bug with custom API's when using IE9