docs: function trigger (el, event) {
    if (document.createEvent) {
      var ev = document.createEvent('HTMLEvents')
      ev.initEvent(event, true, false)
      el.dispatchEvent(ev)
    } else {
      el.fireEvent('on' + event)
    }
  }