Add element->className that was missed

in commit 819cd4479fa5f664d646186fe304b5eec96d63c1
Add without groupid as well.
Merge pull request #939 from Sophist-UK/missed_element_class

Missed element class