Merge pull request #1 from robbert/master

Safari only has .children defined on HTML elements
# removed @protect children in docblock
# added configurability options
# modified demo, added jquery + $() test
# replaced removeAttributeNode by removeAttribute
# fixed a label
Update README.md
# Added more strictness foe jQuery mode
# Customized the demo
# Added more attack vectors
Merge branch 'master' of github.com:cure53/DOMPurify
Fixes bug in IE, where all attributes have empty value after sanitizing.
In `_sanitizeAttributes`, the attribute is referenced in a variable
(`tmp`) and removed from `currentNode`.
In IE, after the attribute is removed from `currentNode`, the value in
`tmp` variable is also removed. So instead of just getting the attribute
from `currentNode`, clone `currentNode` and get the attribute from the
`clonedNode`.
fixes #2
# extending test cases in demo
# adding new config options
# adding new return type options
Merge pull request #3 from hyderali/master

Fixes bug in IE, where all attributes have empty value after sanitizing.
# added clobber-check for cloneNode()
# diabled safe-jquery by default
# enabled safe-jquery on demo via config object
# aligned some whitespace
# added better style formatting
# using cssText for inline CSS
# changed the demo
Resolved NodeFilter and Node type constants
Merge pull request #4 from koto/patch-1

Resolved NodeFilter and Node type constants
Basic JSHint setup and fixes

Also nobody ever died from too much white space.
Remove IDE specific file from repository
Typos
Add AMD support