cordova :: XMLHttpRequest :: setRequestHeader does not work with JSONP

cordova :: XMLHttpRequest :: setRequestHeader does not work with JSONP

I have a script for web site scraping testing. In Chrome, I used Ripple extension. If the emulator is disabled,
I can retrieve the token from the html page. But if I enable the emulator, I got the following error. I wrapped it
in phongap and deployed in an Android device, the corresponding tag content is not updated at all.
I appreciate your help to get this resolved.
  1. cordova :: XMLHttpRequest :: setRequestHeader does not work with JSONP. ripple.js:36
    1. _self.error ripple.js:36
    2. _XMLHttpRequest.xhr.setRequestHeader ripple.js:49
    3. jQuery.extend.ajax jquery-1.8.3.js:7986
    4. getDownloadToken parse.js:13
    5. onclick index.html:24
Object {readyState: 0, setRequestHeader: function, getAllResponseHeaders: function, getResponseHeader: function, overrideMimeType: function}
parse.js:27

included scripts in html:

<link rel="stylesheet" href="jquery.mobile-1.2.0.css" />
<script src="jquery-1.8.3.js"></script>
<script src="jquery.mobile-1.2.0.js"></script>
<script src="parse.js"></script>

parse.js

function getDownloadToken()
{
    $.ajax({
        url: 'https://www.myhealth.va.gov/mhv-portal-web/anonymous.portal?_nfpb=true&_nfto=false&_pageLabel=mhvHome',
        type: 'GET',
        dataType: 'html',
        success: function(data,status, jqXHR){
            var downloadToken = $("input[name='loginPortlet_homepageorg.apache.struts.taglib.html.TOKEN']", $(data)).attr ("value");
            console.log(jqXHR.getAllResponseHeaders());
            vaCookie = jqXHR.getResponseHeader('Set-Cookie');
            $('p#token').text("token"+downloadToken);
            $('p#cookie').text("cookie"+vaCookie);
        },
        error: function(data) {
            console.log(data);
        }
    });   
}