Adding support from arrays and multi classes in addClass