Fixed captcha for ajax displaying error messages and reloading captcha