Continuing to refactor domModule
domModule has been rewritten using the Revealing Module Pattern