Function addClassesNow

Adds the given classes to the element.