Fix closing tag.
Cache selector results.