change the class name of one element dynamicly