Preventing default action and stopping propagation commands for DOM events.