Inline nodeCanContainNode module into validate fn
Consolidate validation logic into DOM modules