Update div attributes to "class"

The js file was setting three div attributes as "className" rather than
"class" resulting in any CSS intended for that class not to be
recognized.