function hasClass(el, cls) {
	        return el.className.match(new RegExp('(\\s|^)(' + cls + ')(\\s|$)'));
	    }
@param {HTMLElement} el
@param {String} cls
@returns {Array|{index: number, input: string}}