Go all the way down to root when looking for a class
Moved rendering out to its own component so it can be included with iframe