code: function stopDefaultBrowserBehavior(element, css_props) {
      if(!css_props || !element || !element.style) {
        return;
      }
  
      // with css properties for modern browsers
      Hammer.utils.each(['webkit', 'khtml', 'moz', 'Moz', 'ms', 'o', ''], function(vendor) {
        Hammer.utils.each(css_props, function(value, prop) {
            // vender prefix at the property
            if(vendor) {
              prop = vendor + prop.substring(0, 1).toUpperCase() + prop.substring(1);
            }
            // set the style
            if(prop in element.style) {
              element.style[prop] = value;
            }
        });
      });
  
      // also the disable onselectstart
      if(css_props.userSelect == 'none') {
        element.onselectstart = function() {
          return false;
        };
      }
  
      // and disable ondragstart
      if(css_props.userDrag == 'none') {
        element.ondragstart = function() {
          return false;
        };
      }
    }
docs: stop browser default behavior with css props
  @param   {HtmlElement}   element
  @param   {Object}        css_props