add Html::cssClassExist and fix add duplicated class