add toPascalCase method
modify containsClass to hasClass