Localstorage not storing data
<p>I have a method as follows and failing to store the data to local storage.</p>

<pre><code>var get = function(setting) {
    var s = jqueryAjaxGetSettings(setting,true);
    if(!s.disableLoader){
        var promise = startLoading(s.loaderName,s.largeLoader);
        promise.then(function(){$.ajax(s)}, function(){$.ajax(s)});
    } else
        $.ajax(s);
};

       var countries = $.jStorage.get("app.common/parameters/countries");

        var countrySelector = {
            app : 'app',
            service : '/parameters/countries',
            disableLoader:true,
            cache: true,
            cdn: true,
            callback : function(response) {
                countries = response.data;
                $.jStorage.set("app/parameters/countries ", countries , {TTL: 3600000});
                self.setItemList();
            }
        }

        if(!countries ){
            ajaxWrapper.get(countrySelector);
        } else {
            self.setItemList();
        }
</code></pre>

<p>I have similar methods and they are storing the data fine. </p>

<p>What would be the case here?</p>