function jqLiteOn(element, type, callback, useCapture) {
  useCapture = (useCapture === undefined) ? false : useCapture;

  // add to DOM
  element.addEventListener(type, callback, useCapture);

  // add to cache
  var cache = element._muiEventCache = element._muiEventCache || {};
  cache[type] = cache[type] || [];
  cache[type].push([callback, useCapture]);
}
Attach an event handler to a DOM element
@param {Element} element - The DOM element.
@param {string} type - The event type name.
@param {Function} callback - The callback function.
@param {Boolean} useCapture - Use capture flag.