Removed old wmd code. Added hasMask class toggling to body element.