Amd version of js-xss.