Allow passing in a selector or an HTML entity to constructor.