text: (function(window){
  
      //Get element by id
      window.geid = function(elem_id){
          return document.getElementById(elem_id);
      };
  
      //Get element by selector
      window.qs = function(selector) {
          return document.querySelector(selector);
      };
  
      window.qsa = function(selector) {
          return document.querySelectorAll(selector);
      };
  
      window.attachEvent = function (target, type, callback) {
        console.log(target + ":" + callback);
        target.addEventListener(type, callback);
      };
  
      String.prototype.capitalize = function(){
        return this.replace( /(^|\s)([a-z])/g , function(m,p1,p2){ return p1+p2.toUpperCase(); } );
      };
      
  })(window);
  