code: function stopDefault(event, noBubbles) {
          event = event || w.event;
  
          if (event.preventDefault) {
              event.preventDefault();
          } else {
              event.returnValue = false;
          }
  
          if (noBubbles) {
              if (event.stopPropagation) {
                  event.stopPropagation();
              } else {
                  event.cancelBubble = true;
              }
          }
      }
docs: Crossbrowser reliable way to stop default event action.
  
  @param {Event} event     Event object.
  @param {Bool}  noBubbles Cancel event bubbling.
  
  @return {Void}