Matching javascript selectors, delegating click ev