added replaceClass() function

only works internaly with this keyword