Detecting element with Class Selector