Stop checking explicitly for null domContent

Sometimes it's undefined and should be treated the same way.
WIP