[FIX] Don't run preventDoubleSubmission() method when there's no <form> in document.