code: function stopDefaultBrowserBehavior(element, css_class) {
        // changed from making many style changes to just adding a preset classname
        // less DOM manipulations, less code, and easier to control in the CSS side of things
        // hammer.js doesn't come with CSS, but ionic does, which is why we prefer this method
        if(element && element.classList) {
          element.classList.add(css_class);
          element.onselectstart = function() {
            return false;
          };
        }
      }
docs: stop browser default behavior with css class
  @param   {HtmlElement}   element
  @param   {Object}        css_class