Add some operate class methods: hasClass, addClass, removeClass and toggleClass