Set className for all classes (constructor.name does not work in minified js)