simplify matchesSelector, remove isFunction
simplify matchesSelector, remove isFunction 2