Sanitise DOM Injected data to avoid possible XSS attempts

Includes .mario’s DOMPurify to sanitise data before writing to DOM