Add medthod cssClassExist and fix class duplicated on addCssClass