Fix compatibility issues with ReCaptcha.