This avoids having to add extra custom JS bits just to initialize forms using the common AJAX submission path.