Improvements in DOM utilities.

Disabled test main.spec.js as main.js bootstraps the whole application
which is something we don't want when it comes to unit tests
the single components.