Let the user define whether a mem event listener is required for the dom...

...ain to run