Captcha Refresh at yii2

I have a question about the refresh clickable image in the captcha in yii2. I already put in my application the CaptchaExtended extension and adapted for the yii2. When I click the image to change the code, nothing happens and the firebug says that something executed in javascript.

What maybe be is happening that the refresh clickable image do not work?