Update mag-ui-event.js

Added stop propagation for event bubbling delegation