code: function wrapListenerWithDirtyAndDefault(view, listenerFn) {
      return function wrapListenerIn_markViewDirty(e) {
          markViewDirty(view);
          if (listenerFn(e) === false) {
              e.preventDefault();
              // Necessary for legacy browsers that don't support preventDefault (e.g. IE)
              e.returnValue = false;
          }
      };
  }
docs: Wraps an event listener so its host view and its ancestor views will be marked dirty
  whenever the event fires. Also wraps with preventDefault behavior.