Add 'dom' module. Add to the dom module methods to add and remove css classes. Add method to remove duplicates from an array.