Add class name to every element.

This fix is provided by Bauer and adds a class to every element to
enable to to be uniquely identified by js.