Creating DOM elements on load, not render.
Working JSDOM test.
Replacing JSDOM with Domino.