code: function css(el, styles, val) {
          if (typeof (styles) === 'string') {
              var tmp = styles;
              styles = {};
              styles[tmp] = val;
          }
  
          for (var prop in styles) {
              el.style[prop] = styles[prop];
          }
      }
docs: http://jsperf.com/vanilla-css