fixes #80 ,
bug: sometime "class"-attribute is set multiple times (chrome omits one of them).
fixed: all classes are written in the same attribute.