fix setRequestHeaders for IE

Fix setRequestHeaders for IE