code: function init() {
  /**
   * Class constructor
   *
   * @method constructor
   */
  
    document.addEventListener('visibilitychange', visibilityChange.bind(this));
  
    window.onpopstate = popState.bind(this);
    window.onbeforeunload = beforeUnload.bind(this);
  
  //  window.addEventListener('blur', blur.bind(this), true);
    window.addEventListener('focus', focus.bind(this), true);
    window.addEventListener('keydown', keyDown.bind(this));
  //  window.addEventListener('keyup', keyUp.bind(this), true);
    window.addEventListener('input', input.bind(this), true);
    window.addEventListener('mousedown', mouseDown.bind(this), true);
    window.addEventListener('mouseout', mouseOut.bind(this), true);
    window.addEventListener('mouseover', mouseOver.bind(this), true);
    window.addEventListener('mouseup', mouseUp.bind(this), true);
    window.addEventListener('scroll', scroll.bind(this), true);
    window.addEventListener('touchend', touchEnd.bind(this), true);
    window.addEventListener('touchstart', touchStart.bind(this), true);
  }
docs: @caption HTML events handler
  
  @readme
  This class handles events on the HTML page
  
  @aliases eventHandling
  @class html5.lib.input
  @type class
   Class {{{1