Error when using StatefulView on a window element. 

Let's make sure that the element we're attempting to change the class name of actually has the className attribute.  The window element, for example, does not.