var Settings = {
  setUrls: function(urls) {
    localStorage.setItem('urls', JSON.stringify(urls));
  },
  getUrls: function() {
    var urls = localStorage.getItem('urls') || '';
    return JSON.parse(urls);
  }
};

var Settings = {
  setUrls: function(urls) {
    localStorage.setItem('urls', JSON.stringify(urls));
  },
  getUrls: function() {
    var urls = localStorage.getItem('urls');
    return urls ? JSON.parse(urls) : '';
  }
};

Fix bug when no urls have been set up yet
Fix bug when no urls have been set up yet
