(() => {

  'use strict';

  let excludeURL = [];
  init();

  function init() {
    load();
    $('.exclude').children('.url').focus();

    $('.exclude').on('submit', function(event) {
      event.preventDefault();
      if ($(this).children('.url').val() === '') {
        if ($('.description').hasClass('has-error') === false) {
          $(this).children('.url').css('border', '1px solid red');
          $('.description').prepend('<div class="error-message"><strong>This field cannot be blank.</strong></div>');
          $('.error-message').css('color', 'red').css('margin-bottom', '10px');
          $('.description').addClass('has-error');
        }
        return false;
      }
      add($(this).children('.url'));
      location.reload();
    });

    $(document).on('click', '.delete', function() {
      let index = $(this).parent().children('.index').text() - 1;
      excludeURL.splice(index, 1);
      save();
      location.reload();
    });
  }

  function load() {
    chrome.storage.sync.get(function(storage) {
      excludeURL = storage.excludeURL;
      for (var i = 0; i < excludeURL.length; i++) {
        $('.exclude-url-list').append('<tr><td class="index">' + (i + 1) + '</td><td class="value">' + excludeURL[i] + '</td><td class="delete"><button type="button">Delete</button></td></tr>');
      }
    });
  }

  function add(url) {
    excludeURL.unshift(url.val());
    save();
  }

  function save() {
    chrome.storage.sync.set({excludeURL: excludeURL});
  }

})();

@@ -1022,24 +1022,163 @@
 (storage) %7B%0A
+      if (storage.excludeURL === undefined) %7B%0A        // create chrome storage variable: excludeURL%0A        save();%0A      %7D%0A      else %7B%0A  
       exclud
@@ -1204,16 +1204,24 @@
 udeURL;%0A
+      %7D%0A
       fo

Fix first load at options