Moved compareDocumentPosition content test to proper directory
Update mozjs.
Don't call bind_to_tree when appending a node to another node that isn't in the tree (fixes #1874).