var DEBUG = 1;

function e_alert(message){
    navigator.notification.alert(message);
}

// console.log(message);
// console.error(message);

function e_getDeviceInfo(){
    var info = 'Name: ' + device.name + '<br />';
    info = info + 'Cordova: ' + device.cordova + '<br />';
    info = info + 'Platform: ' + device.platform + '<br />';
    info = info + 'UUID: ' + device.uuid + '<br />';
    info = info + 'Version: ' + device.version + '<br />';   
    
    return info;
}
var DEBUG = 1;

function e_alert(message){
    navigator.notification.alert(message);
}

// console.log(message);
// console.error(message);

function e_getDeviceInfo(){
    var info = 'Name: ' + device.name + '<br />';
    info = info + 'Cordova: ' + device.cordova + '<br />';
    info = info + 'Platform: ' + device.platform + '<br />';
    info = info + 'UUID: ' + device.uuid + '<br />';
    info = info + 'Version: ' + device.version + '<br />';   
    
    return info;
}

// setup
function setupStorage(){
    // init products
    var sKey = 'product_list';
    var objProduct = new Object();
    objProduct.code = 'P1';
    objProduct.name = 'Haha';
    objProduct.price = 10;
    objProduct.remarks = 'test product';
    localStorage.setItem(objProduct.code, JSON.stringify(objProduct));
}

Update utilities.js