www/index.js
function(url, headers, cb) {
        var callback = (typeof headers == "function" ? headers : cb);
        exec(callback, callback, 'Sync', 'download', [url, null, headers]);
    }
function(url, headers, cb) {
        var callback = (typeof headers == "function" ? headers : cb);
        exec(callback, callback, 'Sync', 'download', [url, null, headers]);
    }
function ( url , headers , cb ) { var callback = ( typeof headers == "function" ? headers : cb ) ; exec ( callback , callback , 'Sync' , 'download' , [ url , null , headers ] ) ; }
Download

This call is to replicate nothing but might be used instead of FileTransfer
Download