Corrected JavaScript error in < IE8 with the need to quote "class".