Adding the classes to the div node