add/remove arrays of classes

See ampersand-dom-bindings#24