_.isEqual correctly checks for DOM elements.