fix ajax call in captcha.js