Fixed issue with use of class as an Object property name. Reference changed to proper form for setting a CSS class attribute, className.