braintree/braintree.js — pull request #5 by SamBenson (2013-05-24 16:14:07+00:00)
Title: Fix for "Dom Exception 8" causes by submitting an erroneous form 3 times...

....

Submitting an erroneous form 3 times causes line 167 to throw a "Dom Exception 8" error. I suspect it's because the the references to the hiddenFields from the previous submission aren't cleared from the `hiddenFields` array once they've been removed from the DOM.