Add AMD support

Allow DOMPurify to be loaded asynchronously by AMD module loaders like Require.js