Bug fixes for client-side validation.
Use window.location instead of document.location to reload recurring thanks page.
Bug fix for recurring validation.