Define modules in more intuitive order & make them more order-independent.
Don't assign prototype objects. Use automatically created ones.
Pass DOM adapter to UI constructor.
Make UI specs use a mock DOM adapter and not touch the actual DOM.