docs: function addLoadEvent (func) {
  
          if (window.attachEvent) {
              return window.attachEvent('onload', func);
          }
  
          if (window.addEventListener) {
              return window.addEventListener('load', func, false);
          }
  
          return document.addEventListener('load', func, false);
  
      }