Update for new component/dom API

Fixed `.move` to work with new component/dom, which returns an array, not a `List`, which doesn't have a `.length()` method.