Added XMLHttpRequest headers

when JSOPN is not used.