code: function(el, c) {
        if (el.classList) {
          el.classList.remove(c);
        } else {
          el.className = el.className.replace(c, '').replace(/^\s+|\s+$/g, '');
        }
        }
docs: Native Javascript for Bootstrap 3 | Internal Utility Functions by dnp_theme