code: function preventGhostClick(event) {
  
      var ev = event.originalEvent || event;
      //don't prevent fastclicks
      if (ev.fastclick) { return true; }
  
      for (var i = 0; i < coordinates.length; i++) {
        var x = coordinates[i][0];
        var y = coordinates[i][1];
  
        // within the range, so prevent the click
        if (Math.abs(ev.clientX - x) < threshold && Math.abs(ev.clientY - y) < threshold) {
          event.stopPropagation();
          event.stopImmediatePropagation();
          event.preventDefault();
          return false;
        }
      }
  
    }
docs: prevent clicks if they're in a registered XY region
  @param {MouseEvent} event