Adds onDocumentMutation method.
Rest of make-disqus-bearable logic carried over.