allows container classes to update when multiple instances

we had a case where we had 2 Nerdbox instances on the same page that required their own styling.  Once the container was added to the DOM, the classes wouldn't get updated even when the new instance replaced the Nerdbox content as expected.  setting the the classes outside of the container seems to be the simplest way to achieve this.