improved $.checkElement (now it supports selectors in array)